package com.platform.service.impl;

import com.platform.dao.UserGroupPurchaseDao;
import com.platform.entity.UserGroupPurchaseEntity;
import com.platform.service.UserGroupPurchaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service("userGroupPurchaseService")
public class UserGroupPurchaseServiceImpl implements UserGroupPurchaseService {
    @Autowired
    private UserGroupPurchaseDao userGroupPurchaseDao;
    @Override
    public List<UserGroupPurchaseEntity> queryUserGroupPurchase(Map<String, Object> map) {
        return userGroupPurchaseDao.queryUserGroupPurchase(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return userGroupPurchaseDao.queryTotal(map);
    }
}
